//
// Created by liushuai on 2021/2/27.
//

#ifndef LEETCODE_FINDORDER_H
#define LEETCODE_FINDORDER_H
#include <vector>
#include <algorithm>
#include <queue>
using std::vector;
using std::queue;
vector<int> findOrder(int numCourses, vector<vector<int>>& prerequisites);
void findOrder1(int numCourses, vector<vector<int>> &prerequisites,vector<int>& inNode,vector<vector<int>>&connect,vector<int>&res);
vector<int> findOrder1(int numCourses, vector<vector<int>> &prerequisites);
#endif //LEETCODE_FINDORDER_H
